using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LED;

namespace DeviceManager
{
    /// <summary>
    /// LED设备初始化参数
    /// </summary>
    public class LedParam
    {
        /// <summary>
        /// 设备是否使用
        /// </summary>
        public bool IsUse { get; set; }

        /// <summary>
        /// 设备类型
        /// </summary>
        public LEDType DevType { get; set; }

        /// <summary>
        /// 设备号
        /// </summary>
        public int DevNo { get; set; }

        /// <summary>
        /// LED 初始化参数
        /// </summary>
        public InitParam InitParam{ get; set; }

        /// <summary>
        /// 状态设置回调函数
        /// </summary>
        public Action<int,bool> SetStatus { get; set; }
    }
}


